package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_apartment_layoutModelMapper;
import com.zhuoshi.bean.Wd_apartment_layoutModel;
import com.zhuoshi.service.Wd_apartment_layoutModelService;
@Service
public class Wd_apartment_layoutModelServiceImpl implements
		Wd_apartment_layoutModelService {
	@Autowired
	Wd_apartment_layoutModelMapper wd_apartment_layoutModelMapper ;
	public int deleteByPrimaryKey(String apartmentLayoutId) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.deleteByPrimaryKey(apartmentLayoutId);
	}

	public int insert(Wd_apartment_layoutModel record) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.insert(record);
	}

	public int insertSelective(Wd_apartment_layoutModel record) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.insertSelective(record);
	}

	public Wd_apartment_layoutModel selectByPrimaryKey(String apartmentLayoutId) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.selectByPrimaryKey(apartmentLayoutId);
	}

	public int updateByPrimaryKeySelective(Wd_apartment_layoutModel record) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_apartment_layoutModel record) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.updateByPrimaryKey(record);
	}

	public List<Wd_apartment_layoutModel> selectAll(Wd_apartment_layoutModel record) {
		// TODO Auto-generated method stub
		return wd_apartment_layoutModelMapper.selectAll(record);
	}

}
